package org.hanbo.code.repository.persistence;

import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManagerFactory;

public class PersistenceManagerFactoryInstance
{
	private static PersistenceManagerFactory pmfInstance;
	
	private PersistenceManagerFactoryInstance()
	{
		
	}
	
	static
	{
		pmfInstance 
			= JDOHelper.getPersistenceManagerFactory(
				"transactions-optional"
			);
	}
	
	public static PersistenceManagerFactory getInsatnce()
	{
		return pmfInstance;
	}
}
